package org.example.sportdemo.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.sportdemo.entity.ProductOrder;
import org.example.sportdemo.entity.User;
import org.example.sportdemo.entity.Yonghu;

import java.util.List;

@Mapper
public interface YonghuMapper {

    List<Yonghu> selectAll();

    Integer selectCount();

    void addYonghu(Yonghu yonghu);

    Yonghu selectById(Integer id);

    void updateYonghu(Yonghu yonghu);

    void deleteByIds(Integer[] ids);
}
